@PistolSlap,
PistolSlap wrote:is there actually a risk of fire or melting with a bulb this tiny or is it just a legal precaution?
There are two risks.
First, the bulb will generate more heat than was intended for the enclosure, which will make the enclosure much hotter than intended by design.
If the enclosure is metal, you may be able to mitigate this risk by not touching the enclosure or letting flammable materials come into contact with it. If the enclosure is plastic, there is a possibility of it melting or catching on fire.
Second, the power cord will likely have a gauge of wire that is only designed for a 20 watt bulb. Running enough current for a 50 watt bulb will cause your power cord to get abnormally hot.
If it gets hot enough, it could cause a fire directly. If not hot enough to cause a fire directly, the heat could still cause the insulation to get brittle and break, leading to a short circuit that could cause a fire.