This sentence refers to a general law that must be respected by everyone who operates or rides on motorcycles, and it is not well formulated, because of the use of the verb phrase "has the right to", as this phrase does not transmit the obligation and relevance of the whole statement. A better option would be: The government mandates the wearing of helmets...