Depends on your location and your definition of "legitimate". If you define "legitimate" by what your particular government says is OK, then no, you won't find yourself in court for those uses. Unless you get extradited to a government that has different opinions.